package reflect;

import reflect.annotation.AutoRunClass;
import reflect.annotation.AutoRunMethod;

@AutoRunClass
public class Student {
    @AutoRunMethod(3)
    public void study(){
        System.out.println("学生：good good study，day day up");
    }

    public void playGame(){
        System.out.println("学生：打游戏！");
    }
    @AutoRunMethod
    public void sleepOnClass(){
        System.out.println("学生：上课打游戏");
    }
}
